<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 
        1.num1 = 25, num2 = 12, num3 = 5, num4 = 7;
        sum = --num1 + num2++ - num1 + num3-- + num4++ + ++num1 + num4 * 3 + num3++;

        2.设a、b、c为数值型数,且a=3,b=5,c=2,则执行完以下语句:a *=16+(b++)-(++c);后,a的值是


        3.设有下面的程序段  var x= 0,y=0,t;t=x&&++y;  执行语句后y的值为


        4.若a是数值型变量,则执行表达式"a=25/3%3"后,a的值为


        5.若a=1,b=4,c=3,则表达式a&&b+c||b-c的值为


        6.若a=1,b=2;运算a+b+(a++==  b)+(--a === b)
     -->

    <script>
        // 1.
        var num1 = 25, num2 = 12, num3 = 5, num4 = 7, sum;
        sum = --num1 + num2++ - num1 + num3-- + num4++ + ++num1 + num4 * 3 + num3++;
        console.log(sum);   //  77

        // 2.
        var a=3,b=5,c=2;
        a *=16+(b++)-(++c);
        console.log(a);

        // 3.
        var x= 0,y=0,t;
        t=x&&++y;
        console.log(y)

        // 4.
        var a = 25/3%3;
        console.log(a);
        

        // 5.
        var a=1,b=4,c=3;
        console.log(a&&b+c||b-c)


        // 6.
        var a=1,b=2;
        console.log(a+b+(a++==  b)+(--a === b))
    </script>
</body>
</html>